title: Reinitializing a git repository
body: <p>I have an xcode project on my desktop in a directory that originally had a git repository with a tracking branch that tracked a remote branch on github.  The remote branch has some 84 commits and is 2 commits ahead of the master branch of the project I'm adding features to.  I changed the name of the folder/directory on my desktop.  I'm not 100% sure if this is the reason why but when I go to <code>git status</code> I get: <code>fatal: Not a git repository (or any of the parent directories): .git</code>.  My plan is to simply git Init, add the remote branch and create a new tracking branch and than commit locally to that branch and than push to the remote branch.  However, I'm a git beginner and I'm not sure if this is the proper way to go about it.  I'm very weary of losing any commit history or accidentally breaking something.  Is the method I outlined a good way of rectifying this loss of the git repo?</p>