Added function to get the name of the branches in a remote