I have a git repository created by using git clone www.someserver.com/mygitrepo. I want to maintain an offline backup of this repository entire source code and history, would it be sufficient to call git pull and git fetch in the repository every once in a while? As far as I found git pull should update the current local branch from the remote one, and git fetch should update all the local branches from their respective remote branches. But does git fetch also downloads branches added after the initial git clone call? Is it OK to assume I have a full up-to-date backup by using this method? Is it enough to just call get fetch? What is the best way to achieve a full backup?
EDIT:
Just to clarify, I'm less interested in getting all the branches specifically, I'm more interested in maintaining a full copy of the repository including tags and such for the event that the server will be unavailable.
 
     
    