Using Git on the Command Line

Learn how to use the Git tool (the version-control system for tracking changes in any set of files) directly on your computer's command line interface.

TECHNOLOGIES

Git and GitHub

WATCH TIME

57 minutes

Lessons

Pushing our files to the remote server

See how to use git push to push commits made on your local branch to a remote repository.

4 min

Installing Git on your machine

See the steps on how to install the Git tool onto your personal machine from the CLI and access it for future use.

7 min

Understanding the 3 Git States

Find out the background and uses of the three Git States of modified, staged, and committed.

4 min

Excluding unwanted files with Gitignore

Learn how to avoid having to ignore unwanted files manually, using .gitignore file in the working directory of your project.

6 min

Understanding commit details with Git Log and Git Show

Understand how to use and evaluate Git Log and Git Show, tools that will let you inspect commit history and changes.

6 min

Introduction to the Command Line

Get an overview of the command line interface or CLI, which is a way your OS represents the computer's files, directories, and programs to the user.

8 min

Making your first commit

Learn how to make your first GitHub commit, accompanied with writing a certain message to track your changes.

7 min

Pulling commits from master

Learn how by running git checkout master, you'll be able to find the commits you want to pull into your branch.

6 min

How to reverse a commit

Some mistakes or actions need to be taken back. Learn how to easily reverse a commit with GitHub specific commands while preserving previous changes to your files.

12 min

Hey! I’m Avi, and I’ll teach you how to build!

I'm Avi, your new Python instructor and founder of The Codex.

Three years ago I was stuck. I wasn’t learning anything in my theory-filled CS classes, my friends took pictures of me sleeping in lecture, and I was questioning why I was even learning CS to begin with. I had ideas but I was clueless on execution.

After watching hours of webcasted YouTube videos, enrolling in course after course, and struggling to stay motivated, I finally obtained the skills to bring my ideas to life. I realized how lonely and gruesome this process was.

If you’re a student just like me, you know exactly what it’s like to be stuck in course hell. The best programmers of today learned by doing, not by reading syntax in a textbook.