Version Control with Git

Resources:

Github

  • Extremely popular code sharing platform, and the home of a plethora of open source projects.
  • Solid tools for software development: issue tracker, milestones, ...

Git: the extreme basics

  • Decentralised version control system (SVN: centralised)
  • Git has integrety: everything in Git is check-summed before it is stored and is then referred to by that checksum
  • When working, all operations are local and are executed fast:
    • Local repository: add, commit, branch, merge, checkout

  • Retriving changes from a remote repository:
    • clone, fetch, merge
  • Uploading local changes to remote repository:
    • push