General git clone only one branch May 6, 2019 Pramod T P Leave a comment Run the following command git clone -b mybranch --single-branch git://sub.domain.com/repo.git