title: Git Workflow: Local to server
body: <p>So I started developing something locally and turned it into a git repo. Then I took the folder and ftp'd it onto a server. Now I have SSH access to the server and git is installed. I cd'd into the folder and git said there wasn't a repo there, which I thought was stored in /.git/ and would have been uploaded with it.</p>
  
  <p>I'm basically looking to add this server as a remote to be able to push to but now I'm not sure if it's setup right. Would the correct way be to clone from local first? How do you do that?</p>
  
  <p>Also <code>git config --get remote.origin.url</code> isn't giving me anything on the server. I feel like I'm missing a big piece of the puzzle here.</p>