checkout: split part of it to new command 'restore'
[git] / templates / branches--
1 : this is just to ensure the directory exists.