- Make sure you have git installed. If not
brew install git
on iOS,apt install git
on Linux or visit Official Git website - Make sure you have a GitHub account: GitHub website
- Download GitKraken: GitKraken
- (Optional) Register for a GitHub Student Developer Pack which also gives a GitKraken Pro licence.
- Understand what Git is and what it is used for.
- Use Git with a local repository.
- Be familiar with the following commands:
init
add
commit
checkout
revert
diff
merge
log
- Be familiar with the following ideas:
- Repo
- History, stage/index, working directory
- Commit hash, commit object
- Head
- Branch
- LAB: overview of Git - Intro to Git Basics (Adapted from shacon)
- Individual work: Software carpentry course units 2 - 6 only: Git - SoftwareCarpentry
- Understand a what a remote repository is.
- Understand how to collaborate with others.
- Fix conflicts.
- Use GitKraken to manage your repositories and remotes.
- Understand the following commands:
clone
fetch
pull
push
- LAB: overview of collaboration and remotes Intro to Git Remotes (Adapted from shacon)
- Individual work: Software carpentry course units 7 - 9: Git - SoftwareCarpentry
- Individual work: GitKraken tutorial (Video and navigate sidebar: GitKraken->Start Here)
- Visual guide to branches: Branches (Focus on first eight main exercises and first 10 remote.)
- Official Git documentation: Git docs
- Useful Git tutorial: Atlassian tutorial
- Visual Git
- Git-flow - How to manage branches in a real project: GitFlow, and where it comes from: How to do branches properly.