Git

Git

Advanced

Git is a distributed version control system to track changes in source code. Git was created by Linus Torvalds in 2005 for Linux kernel development. Git is the most widely used version control system. You could use git on a command line or using a graphical UI. You can use Git to travel back in time with respect to your source code and make changes. 

This competency includes understanding git internals, rebasing interactively, git administration, debugging with bisect, understanding of different merge strategies, and being comfortable rewriting git history. 

Key Competencies: 

  1. Git Internals - Understanding git’s content-addressable file system, the internal working of git.  
    1. Objects - Understanding each of these Objects -  Commits, Trees & Blobs
    2. Plumbing Commands - Knowledge of how the git plumbing commands.
    3. Examination of the content in the object DB using the git cat-file command
    4. Understanding Git refs & pack files
  2. Rebase Interactive: Knowledge of how to use git rebase-interactive git rebase -i HEAD~4 to 
    1. Remove commits
    2. Squash commits
    3. Change history by editing commits
    4. Splitting commits 
    5. Reordering commits 
  3. Git Administration - Knowledge of how to administer maintain and administer a git repo 
    1. git filter-branch - knowledge of how to use the filter-branch option to rewrite a large number of commits
    2. git fsck 
    3. git reflog 
    4. git gc
  4. Debugging - Usage of the git bisect to find bugs by assigning test command to git bisect
  5. Merge Strategies - Git merge strategies - resolve, recursive, octopus, ours, subtree, custom 
  6. Rewriting History - Understanding operations such as undo, rewrite history with help of git reflog command.
  7. Git server - Knowledge of how to run a git server and knowledge of different protocols
  8. Git in Apps - Integrating Git in your applications - Libgit2, Jgit, go-git.