Work on an existing project that is already being version-controlled with git.

Create a new project that you want to version-control and share with others using Git.

A project in this context, can be anything, e.g. the source code for a java based project, or a c# project, or an android project….etc.

If you are creating a brand new project, then you need to first create your git repo. If you want to work on an existing git-managed project, then you need to clone that project from the git-server, which is covered in the next lesson.

At this stage this git repo doesn’t know which files needs to be tracked by this repo. Hence git is not tracking anything yet. Git also will not automatically track any files/folders that sites alongside the .git folder. It is up to you to tell what files/folders needs to track. As a result you see the following when you check your git repo’s status:

Once you have version controlled your project, you can share your project with others. The best way to do this is by pushing your repo to your companies git-server, or if you want to share it publically, then push it so a public git-service, e.g. github.com.