title: Git:does not appear to be a git repository
body: <p>I am trying to make repository to the local server.</p>
  
  <p>In server side I have done the below steps:</p>
  
  <pre><code>mkdir -p /root/project-1.git
  cd /root/project-1.git
  git init --bare
  </code></pre>
  
  <p>So at server side I have made the git repository.</p>
  
  <p>Now at client side I have done following things:</p>
  
  <pre><code>mkdir -p /root/remote
  cd /root/remote
  git init
  </code></pre>
  
  <p>Made a simple hello file.</p>
  
  <pre><code>git add .
  git commit -m "message" -a
  git remote add origin ssh://git@10.206.1.34/root/project-1.git
  </code></pre>
  
  <p>Now when I am pushing this changes to server by using the following command it gives me following error:</p>
  
  <pre><code>git push origin master
  git@10.206.1.34's password:
  fatal: '/root/project-1.git' does not appear to be a git repository
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  </code></pre>