Re: Getting new branches from remote repo.
> After finding out $that_new_branch's name, add either
>
> Pull: refs/heads/$that_new_branch:refs/heads/$that_new_branch
> You would still see them if you say "ls-remote" without --heads.
Thanks for help, these commands solve my trouble:
1. Get remote branches by 'git ls-remote origin refs/remotes/*'
2. Fetch needed branch by adding: 'Pull:
refs/remotes/origin/BRANCH:refs/heads/BRANCH' into .git/remotes/origin
Is there any way to automaticly edit .git/remotes/origin before