Skip main navigation

New offer! Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Using add, commit and push

Learn to manage code with version control. Discover Git techniques for organizing, tracking changes, and collaborating. Ideal for all developers.

In this video, you are guided through the process of adding, committing, and pushing changes to your repository.

The video demonstrates how to modify files, track changes, and push updates using both the command line and a graphical user interface. It also provides valuable tips on creating meaningful commit messages and ensuring your work is securely stored on Git. This will help you master the fundamental operations of version control systems.

Your turn: Adding your files

Now you’ve got a repository set up and a README file, you can push the changes you made last time up to Git.
If you’re using Codespaces, have a go at doing this through the terminal as well as the source control button.

Remember, you need to:

git add .

git commit -m "type your own message"

git push
This article is from the free online

Working with Version Control

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now