Version Control with Git

This course will help you get started using Git for version control. It is good for people who have used other version control tools and also for people who have never used any version control system. This course provides the necessary knowledge to get started using Git. To make sure one is not afraid of the tool and can use it to her/his advantage.

Target Audience

Prerequisites

Objectives

Course Format

Syllabus

  1. About Git
    • The concepts of Git
    • Basic concepts of Git
    • Git Internals
    • Copy-Modify-Merge vs Lock-Modify-Unlock
    • Why use Git?
    • Who uses Git?
  2. The basics
    • Installing Git on Windows, Linux and Mac
    • Setting up your profile (configuring git)
    • Creating a local repository
  3. Daily use of Git
    • status
    • add (Adding files, directories to staging)
    • rm (Removing files, directories)
    • mv (Renaming files and directories)
    • checkout
    • commit (checking in changes)
    • diff (Viewing changes)
    • log (Viewing the log, Finding out what you, and others did)
    • Making a change
  4. Working with branches
    • Branching
    • Merging
    • Conflict resolution
    • Tagging
  5. Working with a remote repository
    • Cloning a remote repository
    • pull
    • push
    • Peer networks
    • Star networks
  6. Other
    • Ignoring generated and other unwanted files
    • Using gitk to explore history
    • Stashing files while doing something else
    • Finding out who did what (browsing log messages)
    • reset (Removing commits from the repository)
    • revert (Examining and reverting changes)
    • Binary files
    • Getting snapshots (dates and tagging)

Contact

Contact: Gabor Szabo gabor@hostlocal.com
Phone: +972-54-4624648