Introduction to Git for Version Control

Become proficient with the most widely used version control software. Stop sending code as attachments. Collaborate fearlessly.

Data Platform
beginner
8h
View exercises

Overview

Version control with Git, from your first commit to branching, merge conflicts, and working together through remotes and pull requests.

What you'll cover

  • The Git object model: blobs, trees, commits, refs
  • The staging area and the commit lifecycle
  • Branching and merging
  • Merge conflicts
  • Remotes, tracking branches, and pull requests
  • Stash, tags, and the reflog
  • Pre-commit hooks

What you'll be able to do

  • Stage changes and make clean commits
  • Inspect history with log and diff
  • Create, switch, and merge branches
  • Resolve a merge conflict
  • Collaborate through remotes and pull requests
  • Recover lost work with stash and reflog
  • Tag a release
  • Set up pre-commit hooks

Tags

Version ControlCollaborationSoftware EngineeringGitDevOpsBeginner

Prerequisites

  • Basic command line knowledge

Technologies

Related items

Additional material