origin
. --depth
option allows to create a shallow clone of a repository where the history is truncated to the specified number of the most recent commits, thus using less bandwith and disk space resources. $ git clone --depth 1 -b master https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git ~/linux/
git init --quiet --bare repo
git clone --quiet file://$pwd/repo repo-cloned
git log
, git will show the message fatal: your current branch 'master' does not have any commits yet. git clone --recurse-submodules https://github.com/…
git submodule --init --force --remote
. git remote get-url origin