gith clone code example Example: git clone gh repo clone <repository> [<directory>] [-- <gitflags>...] # With the new GitHub CLI