getting latest commits and branches corresponding Repositories
getting current branch