added commits page tests and commit page branch automatically get