Try to do a git clone
of the .git folder
git clone file:///opt/git/project.git
If that works it will copy the Git repository.
Alternative: have you got any clients that have git pull
ed from the Atlassian Stash server lately? You can simply use the .git
repository of the freshest client as a new server repository.