This is a git related problem. Probably you are using a bare repo, but when following the instructions on manual, this was not supposed to happen.
As a suggestion, you can download and use the already configured Ubuntu VM from the OFSwitch13 website. Everything is compiled and working there.
Luciano.