I don't know if it is really possible.
I want to create a new repository in new drive (Suppose D:) where I will create a new project. Now, I would like to checkout the project in another drive (Drive E) from where I will be working on project and commit. And also, I would like my friend to work on same project, so he can also commit from his home which should get saved to D: repository.
Is this possible ? I know we can use Git as an alternative to store codes safely online. But I would like to do it in my local machine and collaborate with my friend. For safety propose, I will make regular backup of main repository i.e drive D so codes won't get lost.