how to clone one folder from a repository code example Example: git clone without folder git clone URLofRepo .