Get project from its branch head.