Refresh main git var, after a fetch