This happened when working with git on Ruby on Rails. several commits and branches were done and created.
git version 1.7.3.4
I accidentall
if you compiled your work and it is in a jar format. Go to your .m2/repository/location and find that jar file. change the .jar to .zip. unzip the file and your git repository should be there.