combine getCommit ById and ByBranch in routers/repo/commit.go
Merge pull request #73 from zhsso/dev

combine getCommit ById and ByBranch in routers/repo/commit.go