A Guide to Git & GitHub

In this course we will be learning about version control especially Git and GitHub which provides hosting for Git version control.

Check status

When you are reaching to this point, you should have your local Git repository setup. You can now start making changes and committing snapshot of those changes into your repository each time when you think your project reach up to a state you want to record.

The files in your working directory not can only have either of two states now tracked or untracked.

Check the status of your file/s.

You can use git status command to determine files states.

Run the git status command,

$ git status

You should see,

On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	index.html

nothing added to commit but untracked files present (use "git add" to track)

You can see that your new file index.html file is untracked. 
Previous Next

Unlock Your Potential with Engineeous

Get Started