title: Continue working on the folders managed by vcs git after upgrading operating system
body: <p>Our institution's desktop team has upgraded from RedHat 6 to 7 on my machine. It is actually a fresh installation of RedHat 7 in the system where Red Hat 6 was running.</p>
  
  <p>I had backed up all my projects into the network storage before this upgrade. When the machine is ready under Red Hat 7, I cannot continue using git under the folders of my projects. If I run <code>git status</code>, I am getting the following error:</p>
  
  <p><code>fatal: Not a git repository (or any parent up to mount point /scratch)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).</code></p>
  
  <p>A few uncommitted work is under such projects which I need to continue working on them rather than clone a new repository from the remote one. If I run <code>git init</code>, it definitely gets rid of all history.</p>
  
  <p>Do you know how to resolve the problem?</p>