The whole point about git is that it is distributed, which means that it is designed to let you track your local changes while merging in developments that happen elsewhere.
If you are used to client-server version control like SVN or CVS, then it takes a while to understand the distributed model, but one you get it, you will not want to go back
There are many good guides to git online, so Google, and start reading.