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.
Merge pull request #65 from EnigmaCurry/git-cache-fixes

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