title: Multiple local repositories with same origin GIT
body: <p>I was trying to dig into some more complex git functionalities.</p>
  
  <p>I'm using fork to interface with git branch management, Eclipse (Maven build tool) as my IDE and DBeaver for queries.</p>
  
  <p>At the moment i often need to switch between branches which implies:</p>
  
  <ul>
  <li>Stash (if local changes available)</li>
  <li>Switch branch.</li>
  <li>Terminating JBOSS on eclipse</li>
  <li>Cleaning the project</li>
  <li>Restart the server</li>
  <li>Hoping the two branches does not have too many differences on the database side (otherwise i'd need a refresh)</li>
  <li>Losing my flow of thoughts while developing because of the topic change</li>
  </ul>
  
  <p>I was trying to overcome all this cumbersome operations.</p>
  
  <p><strong>What i did so far:</strong></p>
  
  <ul>
  <li>Created another instance of my local database to handle different data structures between branches</li>
  <li>I copied my workspace to change maven build properties to point another database. My <strong>D:</strong> folder contains both <strong>WorkspaceA</strong>,<strong>WorkspaceB</strong> (where B is simply the result of Ctrl-c Ctrl-v of the A)</li>
  </ul>
  
  <p>The problem comes when having to deal with branches and origin. I may have some confusion.</p>
  
  <p><strong>What i'd like to have</strong></p>
  
  <ul>
  <li>Two instances of Eclipse opened at the same time for the two different workspaces (<strong>WorkspaceA, WorkspaceB</strong>) --> Should be ok so far</li>
  <li>Two fork instances (one for each repositoriy inside each Workspace, <strong>repositoryA</strong>,<strong>repositoryB</strong> --> When creating new repository on the secon fork instance the issue is <strong>the selected path is already a git repository</strong></li>
  <li>Basically the possibility to have two local repositories pointing to the same origin (like being two devs with their local repositories). I'd like to be on <strong>BRANCH1</strong> in my <strong>RepositoryA</strong> with my local changes and at the same time being on <strong>BRANCH2</strong> in my <strong>RepositoryB</strong> with other local changes.</li>
  </ul>
  
  <p>Is this somehow making sense? Is there another solution to accomplish this task? What may be the major leaks in my reasonings? Thanks for your time.</p>
  
  <p>Davide</p>