Fixes new/updated branch and tag fetching from remote repository.

Fetches branches and tags now in one step using a single refspec.
Removes the need to update the local branch manually.

Supercedes the changes from #58