₹0 for students · Certificate · Beginner

Version Control with Git

10 lessons: track, share and collaborate on code with Git and GitHub

10 lessons · ~4 hours · 20-question final exam · pass mark 70%

About the course

What you’ll learn

Every developer job asks for Git. Learn why version control matters, set up Git, record and explore changes, ignore files, push to GitHub, collaborate with others, resolve conflicts, and choose a licence for your work. Each lesson has a study guide, the full Software Carpentry episode with exercises, and a quiz. Pass every quiz and the final exam to earn a verifiable certificate.

GitGitHubBranchingMerge conflictsCollaborationOpen-source licences

Part of the career tracks: Web Developer, Data Analyst, Machine Learning Engineer, GenAI and LLM Builder, Computer Science Foundations

How the certificate works

  1. Read each lesson’s study guide, then the full lesson and any notebooks or exercises.
  2. Pass every lesson quiz with 70% or more.
  3. Pass the final exam: 20 questions in 30 minutes.
  4. Get a certificate with a public verification link, and add it to LinkedIn.

Syllabus

10 lessons in 3 parts

Working alone with Git

1
Why Version Control?
20 min · Version control records changes over time, with who, what, when and why.
2
Setting Up Git
15 min · git config --global sets options for every repository on the computer.
3
Creating a Repository
15 min · git init turns the current folder into a repository by creating .git.
4
Tracking Changes
30 min · Two steps: git add stages changes; git commit records them.
5
Exploring History
25 min · HEAD is the latest commit; HEAD~1, HEAD~2 count backwards; commits also have hash ids.
6
Ignoring Things
10 min · Ignore build output, temp files, dependencies (node_modules), large data and secrets (.env).

Working with others on GitHub

7
Remotes in GitHub
30 min · A remote is another copy of the repository, such as one on GitHub; origin is the usual name.
8
Collaborating
25 min · Collaborate through a shared repo (add collaborators) or forks and pull requests.
9
Resolving Conflicts
25 min · Conflicts happen when the same lines change in two places.

Sharing your work openly

10
Open Work, Licensing, Citation and Hosting
25 min · Open repositories make work reproducible, reusable and creditable.

Course content is derived from Software Carpentry's "Version Control with Git" lesson (https://swcarpentry.github.io/git-novice/), Copyright (c) The Carpentries (https://carpentries.org/), licensed under CC BY 4.0. Vikosha wrote new study guides and quiz questions; changes were made. Certificates are issued by Vikosha and are not issued or endorsed by The Carpentries. Licence: CC BY 4.0, Copyright (c) The Carpentries. View the original curriculum