I have a git repository with multiple branch where I am trying to clone a repository with websitebranch1 it works fine but inside that branch i have sub folders
/website
/api
/database
when i clone all this are getting cloned in to server what i want is only
/api
folder to be cloned
git clone -b websitebranch1 --single-branch git@bitbucket.org:iamuser/websites.git