Changed getOldCommits to a GET request with Query Paramaters
Added sending the branch name