title: Git remote does not appear to be a git repository
body: <p>I'm working on a craft cms application. The repo has 3 remotes:</p>
  
  <ul>
  <li>origin (bitbucket) </li>
  <li>staging (testing site)</li>
  <li>production (live site)</li>
  </ul>
  
  <p>All of the remotes used to work, but then the production broke for no reason.</p>
  
  <p>Here's how the error looks:</p>
  
  <pre><code>fatal: '/srv/users/******/apps/****/repo' does not appear to be a git repository
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  
  </code></pre>
  
  <p>here's how config file looks on the server</p>
  
  <pre><code>[core]
      repositoryformatversion = 0
      filemode = true
      bare = true
  [remote "origin"]
      url = git@bitbucket.org:****/****.git
      fetch = +refs/*:refs/*
      mirror = true
  
  </code></pre>
  
  <p>don't know what else to check considering that it used to work :-(</p>
  
  <p><strong>upd.</strong></p>
  
  <p>turns out the <code>object</code> folder slipped into another folder(thanks to my boss) and just moving it back solved the problem!</p>