I've introduced a few Git commands while discussing how Gitworks, but haven't actually explained properly how to use them, so let's do a very brief introduction to the basic usage of Git.
The first command you'll need when starting a new project is git init. This initializes a new Gitrepository, and you'll notice that it creates a .git folder so that you can start your project (this is hidden by default on Unix-based and Windows operating systems).
The other situation you might find yourself in is working on an existing project and needing to create a local repository. This can be done with the git clone command. You specify a URL with a protocol (such as https:// or git://) and Gitfetches all of the information for that repository ...