Adding script implementing the import into git

Having this script will make it easier for people to migrate repositories to git.