added the branch checkout on git clone case