I'm using the below command to clone one branch:
git clone user@git-server:project_name.git -b branch_name --single-branch /your/folder
Now I want to check out another branch from the server. I tried the below command and it didn't work
git checkout another_branch
After cloning a single branch, how can I clone/checkout/pull/fetch another branch?