git clone [remote-url] --branch [name] --single-branch [folder]
Here is what the above code is Doing:
1. git clone [remote-url] – This will clone the remote repository into a new folder.
2. –branch [name] – This will checkout the specified branch.
3. –single-branch – This will clone only the specified branch.
4. [folder] – This is the name of the folder you want to clone the repository into.