I have my working copy on my local machine named foobar. Therein are all my files including the .git folder with all the information about commits and so on.
My question is how can I create a file/folder named foobar.git from this folder to import it anywhere like GitHub, BitBucket, .. ?