Main task returns a promise
Implement GET /:repo/branch: lists all branches in a repo
Git-api middleware is defined per route, rather than globally
Do not use express-params
Allow explicitly requested empty commits