Github says "publish" instead of "sync" for private repo
<p>I want to store my existing projects (say the whole Arduino folder for example) on the git server on my raspberry pi.
So I followed this tutorial (from "Add an Empty Git Repository" title because I already have all above) <a href="http://monkeyhacks.com/post/raspberry-pi-as-private-git-server" rel="nofollow">http://monkeyhacks.com/post/raspberry-pi-as-private-git-server</a>. I can clone from and commit to server just fine. I can also drag and drop the cloned folder on GitHub desktop application. However, on the original existing folder on my local machine which I used for the initial commit, when I drag&amp;drop the folder on GitHub, the "sync" button says "publish" and there are two different branches which is something I did not intend to make. And in this original folder, I cannot commit, sync or anything using github application.</p>

<p>I think I am missing something (git newbie). Do I have to clone the repository to replace the original folder after every time I create a repo on the server? Or is there a more proper way to do this?</p>