git клон последний коммит

git clone --depth 1 https://github.com/user/repo.git
Hafez