Roadmap

Introduction to version control

  • What is version control?
  • Why use version control?
  • Introduction to Git
  • How Git works
  • Git workflow example
  • Conclusion and next steps

Setting up Git

  • Installation
  • Command line and terminal
  • The git command
  • Configuring Git credentials
  • Configuring line endings treatment
  • Configuring default branch name
  • Conclusion and next steps

Putting the project under version control

  • Navigating the terminal
  • Initializing a repository
  • Creating work files
  • Recording changes
  • Checking the status of the repository
  • Conclusion and next steps

Resetting unwanted changes

  • Comparing the working tree with the repository
  • Discarding local changes
  • Discarding staged changes
  • Amending the last commit
  • Conclusion and next steps

Tagging and branching

  • Referencing commits
  • Tags
  • Branches and branching strategies
  • Creating and switching branches
  • Merging branches
  • Conclusion and next steps

History

  • Browsing history
  • Checking the difference between commits
  • Reverting changes made in older commits
  • Resetting branches
  • Conclusion and next steps

Remotes and GitHub

  • What is a remote repository?
  • Creating a GitHub repository
  • Adding GitHub repository as a remote
  • Pushing and pulling changes from the remote repository
  • The danger of rewriting history on a public repository
  • Conclusion and next steps