git checkout specific commit and create branch