git checkout commit and create branch