Source: Levelica
Canonical: https://www.levelica.com/en/guides/version-control

# Version Control

## Summary

Tracking changes to code and documents so many people can work in parallel and merge without conflicts.

## Description

Version control is the ability to record file changes, revert to specific points in time, and merge parallel streams of work. It goes beyond tool operation to include designing how teams collaborate and building workflows that ensure code quality. From managing history on a personal project to governing repositories with hundreds of contributors, it's a foundational skill across all of software development.

---

## Level Overview

| Level | Proficiency Stage    | Hashtags                                                                                    |
| ----- | -------------------- | ------------------------------------------------------------------------------------------- |
| Lv.1  | Version Starter      | #CloneAndCommit #WorkingDirectory #StagingArea #VersionHistory                              |
| Lv.2  | Commit Crafter       | #BranchAndMerge #ConflictResolution #CommitMessage #DiffAnalysis                            |
| Lv.3  | Branch Manager       | #FeatureBranch #PullRequest #CodeReview #CherryPick #SemanticVersioning                     |
| Lv.4  | Workflow Designer    | #BranchStrategy #InteractiveRebase #GitHooks #GitBisect #TrunkBasedDevelopment              |
| Lv.5  | Integration Lead     | #DistributedWorkflow #CICDIntegration #MonorepoStrategy #MergePolicy #BranchProtection      |
| Lv.6  | Governance Architect | #ConfigurationManagement #MigrationStrategy #SignedCommit #RepoPerformance #SecretDetection |
| Lv.7  | VCS Innovator        | #ProtocolDesign #CoreAlgorithm #CoreMaintainer #OpenSourceLeadership                        |

> Proficiency mapping source: Based on the SFIA 9 Configuration Management (CFMG) Competency Framework (SFIA Foundation) responsibility levels L2-L6 and the staged learning structure of Pro Git (Chacon & Straub).

> **Cross-Validation:** Three independent reference frameworks converge on the same level boundaries. (1) SFIA CFMG's Follow-to-Apply transition and CS2023's Familiarity-to-Usage learning outcomes align at the L2-L3 boundary (basic commands to independent branch management). (2) Pro Git's intermediate (Ch.5 Distributed Workflows) to advanced (Ch.7 Git Tools) transition and SFIA's Enable-to-Ensure transition converge at the L4-L5 boundary (personal workflow design to team-wide integration). (3) SFIA's Ensure-to-Initiate transition and Pro Git Ch.8 Customizing Git (hooks, attributes, policies) scope align at the L5-L6 boundary (team lead to organizational governance).

---

## Level 1

#CloneAndCommit #WorkingDirectory #StagingArea #VersionHistory

### Summary

Following guidance to run basic clone and commit commands.

### Description

You recognize the problem that editing a file means you can't get back to the previous state, and you learn how a version control system solves it. You clone a repository, record changes, and sync with a remote repository by following step-by-step instructions. At this stage you rely on documentation or a senior colleague's guidance rather than working independently.

### Checklist

- [ ] Can explain the purpose and value of a version control system in your own words
- [ ] Can clone a remote repository to your local machine
- [ ] Can explain the three-stage structure: Working Directory, Staging Area, and Repository
- [ ] Can stage files and record changes as a commit
- [ ] Can pull the latest changes from a remote repository and push your own commits

> If you've checked off most of this list, you're ready to enter the Commit Crafter stage, creating branches, writing meaningful commit messages, and resolving simple conflicts. According to CS2023 (ACM/IEEE/AAAI) SE/Tools curriculum, repeatedly applying version control fundamentals in real projects accelerates the shift from tool familiarity to independent usage.

---

## Level 2

#BranchAndMerge #ConflictResolution #CommitMessage #DiffAnalysis

### Summary

Isolating work in branches and resolving merge conflicts by hand.

### Description

You move past stacking commits and learn to isolate work with branches. You build the habit of writing commit messages that capture your intent, and you can resolve single-file conflicts during a merge. You compare changes with diffs to see what changed, and you configure which files to exclude from tracking. This corresponds to the SFIA CFMG Follow level: performing basic tasks according to established procedures.

### Checklist

- [ ] Can create and switch between branches
- [ ] Can explain the difference between merge and rebase in your own words
- [ ] Can write commit messages that clearly convey the intent of the change (e.g., Conventional Commits format)
- [ ] Can manually resolve a merge conflict in a single file
- [ ] Can configure ignore rules (e.g., .gitignore) to exclude unnecessary files from tracking
- [ ] Can use diffs to compare changes between commits
- [ ] Can browse commit history to locate a specific change

> If you've checked off most of this list, you're ready to enter the Branch Manager stage, following feature branch workflows and participating in pull-request-based collaboration. According to Pro Git (Chacon & Straub) Ch.3 Git Branching, practicing branch creation and merging across varied scenarios builds the foundation for understanding distributed workflows.

---

## Level 3

#FeatureBranch #PullRequest #CodeReview #CherryPick #SemanticVersioning

### Summary

Working through feature branches, collaborating via pull requests.

### Description

You complete work on your own within an established workflow. You create feature branches, propose changes through pull requests, and provide constructive feedback in code reviews. You confidently use everyday collaboration features like cherry-picking specific commits and stashing work in progress. This corresponds to the SFIA CFMG Apply level: applying standard methods to carry out routine tasks autonomously.

### Checklist

- [ ] Can split and merge work following a feature branch workflow
- [ ] Can write a pull request that communicates the context and impact of changes to the team
- [ ] Can identify the intent and potential impact of changes in a code review and give specific feedback
- [ ] Can cherry-pick a specific commit onto another branch
- [ ] Can stash and restore work in progress
- [ ] Can create tags following semantic versioning at release time
- [ ] Can resolve a complex merge involving conflicts in three or more files
- [ ] Can describe the intent and impact of AI-generated code changes in a pull request clearly enough that reviewers can evaluate them without re-deriving the reasoning

> If you've checked off most of this list, you're ready to enter the Workflow Designer stage, designing branching strategies for your team. According to SFIA CFMG (SFIA Foundation), the Apply-to-Enable transition means that experience accumulated from repeated standard workflows translates into the ability to design workflows yourself. Ericsson et al. (1993) on deliberate practice shows that measuring pull-request review feedback in short cycles and immediately applying it to the next change accelerates the formation of design instincts.

---

## Level 4

#BranchStrategy #InteractiveRebase #GitHooks #GitBisect #TrunkBasedDevelopment

### Summary

Designing a branching strategy and using advanced history tools.

### Description

You compare branching strategies based on project size, release cadence, and team composition, then choose the right fit. You clean up commit history with interactive rebase, track down the commit that caused a bug with bisect, automate pre-commit checks with hooks, and manage external dependencies with submodules or subtrees. This corresponds to the SFIA CFMG Enable level: helping others apply standards correctly.

### Checklist

- [ ] Can compare the trade-offs of trunk-based development and feature branch strategies, choose the right approach for the project, and document the rationale
- [ ] Can use interactive rebase to squash, reorder, or edit commits to clean up history
- [ ] Can set up client-side hooks to run lint, tests, or other automated checks before commits or pushes
- [ ] Can use bisect to pinpoint the commit that introduced a bug across a range of 100+ commits
- [ ] Can manage external repository dependencies with submodules or subtrees
- [ ] Can configure large file storage extensions (e.g., Git LFS) to handle binary assets efficiently
- [ ] Can operate a multi-tier branching model that includes release and hotfix branches
- [ ] Can read the commit history alone and understand the project's current state and direction

> If you've checked off most of this list, you're ready to enter the Integration Lead stage, integrating workflows across your entire team. According to Pro Git (Chacon & Straub) Ch.7 Git Tools, as you accumulate experience applying advanced tools to real problems, your personal tool skills translate into team-level workflow integration skills. Following Ericsson et al. (1993) on target difficulty, deliberately choosing a project a step larger than your current team size or repository complexity is the essential condition for transfer learning.

---

## Level 5

#DistributedWorkflow #CICDIntegration #MonorepoStrategy #MergePolicy #BranchProtection

### Summary

Owning the team's workflow, integrating CI/CD, and mentoring juniors.

### Description

You integrate version control with CI/CD pipelines to automate quality gates. You evaluate monorepo vs. multi-repo strategies and decide on the right repository structure. You document merge strategy trade-offs as team guidelines and mentor junior developers to raise the team's overall proficiency. This corresponds to the SFIA CFMG Ensure level: ensuring standards are correctly applied across the organization.

### Checklist

- [ ] Can document and operate branching policies and code review rules for a team of 10+
- [ ] Can connect version control to a CI/CD pipeline with automated tests and build checks before merge
- [ ] Can evaluate the trade-offs of monorepo vs. multi-repo, choose the right structure for the project, and justify the decision
- [ ] Can systematically mentor 2+ junior developers on branching strategy and conflict resolution
- [ ] Can distinguish merge strategies (merge commit, squash, rebase) by situation and codify them in team guidelines
- [ ] Can use server-side hooks to enforce branch protection rules and commit message formats
- [ ] Can document the trade-offs behind branching strategy decisions and share them with the team
- [ ] Can convert merge conflicts and rebase failures into a team retrospective routine that raises junior contribution frequency to a measurable level quarter over quarter

> If you've checked off most of this list, you're ready to enter the Governance Architect stage, establishing version control governance for an entire organization. According to SFIA CFMG (SFIA Foundation), the Ensure-to-Initiate transition means that problem-solving experience from running team workflows gets codified into organization-wide policies, the key turning point toward governance. As Ericsson et al. (1993) argue for tacit-knowledge externalization, articulating the merge and rebase judgments you make intuitively, and turning them into documented methodology for juniors, shapes the sense of organizational policy design.

---

## Level 6

#ConfigurationManagement #MigrationStrategy #SignedCommit #RepoPerformance #SecretDetection

### Summary

Establishing org-wide governance and leading large-scale migrations.

### Description

You plan and execute migrations from legacy to modern systems and establish access control and sensitive-data policies. You build custom tools and optimize repository performance to keep repos with hundreds of contributors running smoothly. You share best practices through conferences and publications. This corresponds to the SFIA CFMG Initiate level: defining strategic direction with organization-wide influence.

### Checklist

- [ ] Can establish a version control policy and governance framework for an organization with 100+ developers
- [ ] Can plan and execute a large-scale migration from a legacy VCS to a distributed VCS (e.g., Git) with 95%+ history preservation
- [ ] Can design and enforce security policies including secret detection, signed commits, and access control
- [ ] Can develop custom workflow automation tools or CLI extensions adopted by 3+ teams in the organization
- [ ] Can present version control strategies or best practices at industry conferences or in technical publications
- [ ] Can optimize repository performance (history cleanup, partial clone, shallow clone) and cut clone times by 50%+ for large repositories
- [ ] Can diagnose how commit history and authorship metadata affect team psychological safety and fair contributor evaluation, and reflect those findings in the governance policy

> If you've checked off most of this list, you're ready to enter the VCS Innovator stage, innovating fundamental version control methodologies, creating new tools or protocols, and reshaping how the industry collaborates. According to SFIA CFMG (SFIA Foundation) at the Initiate level, generalizing organizational governance experience into frameworks applicable across the industry is the starting point for innovation.

---

## Level 7

#ProtocolDesign #CoreAlgorithm #CoreMaintainer #OpenSourceLeadership

### Summary

Creating methodologies or tools that reshape how teams collaborate.

### Description

You push the boundaries of version control. You design new version control systems or protocols that overcome existing limitations, or you establish methodologies that shift the paradigm of distributed collaboration. Think Linus Torvalds (creator of Git), Brian Berliner (evolution of CVS), or Ben Collins-Sussman (design of Subversion): contributions that fundamentally changed how later generations of developers work.

### Checklist

- [ ] Can design a new version control system, protocol, or core algorithm and release it as open source
- [ ] Can demonstrate that your tool or methodology has been adopted by 3+ external organizations
- [ ] Can verify that your academic papers or technical specifications in the version control field have been cited 10+ times externally
- [ ] Can contribute as a core maintainer of a major open-source version control project for 5+ continuous years
- [ ] Can demonstrate that a workflow methodology or governance framework you established has been referenced as an industry standard for 5+ years

> If you've checked off most of this list, you're at the VCS Innovator stage, operating at the frontier of version control and shaping how software development teams collaborate and manage code.

---

## References

- [SFIA 9 Configuration Management (CFMG) Skill](https://sfia-online.org/en/sfia-9/skills/configuration-management) — SFIA Foundation
- [Pro Git (2nd Edition) — Scott Chacon, Ben Straub](https://git-scm.com/book/en/v2) — Git Project / Apress
- [CS2023 Computer Science Curricula — SE/Tools and Environments](https://csed.acm.org/knowledge-areas-software-engineering-se-cs2013-version/) — ACM / IEEE Computer Society / AAAI
- [O*NET OnLine — Software Developers (15-1252.00) Technology Skills](https://www.onetonline.org/link/summary/15-1252.00) — U.S. Department of Labor / O*NET
- [The Role of Deliberate Practice in the Acquisition of Expert Performance](https://doi.org/10.1037/0033-295X.100.3.363) — K. Anders Ericsson, Ralf Krampe, Clemens Tesch-Römer / Psychological Review
