Is there any way to retrieve only one specific commit from a remote Git repo without cloning it on my PC? The structure of remote repo is absolutely same as that of mine and
This works best:
git fetch origin specific_commit git checkout -b temp FETCH_HEAD
name "temp" whatever you want...this branch might be orphaned though