Get commit of current branch, not 'master'.