Add ProjectInfo class to find branch from commit