GitCommand allows you to use command-line Git in your Julia packages. You do not need to have Git installed on your computer, and neither do the users of your packages!
GitCommand provides a Git binary via Git_jll. Git_jll uses the Pkg Artifacts system, and therefore Git_jll and GitCommand require at least Julia 1.3.
GitCommand is intended to work on any platform that supports Julia, including (but not limited to) Windows, macOS, Linux, and FreeBSD.
using GitCommand
git() do git
run(`$git clone https://github.com/JuliaRegistries/General`)
end
using GitCommand
run(git`clone https://github.com/JuliaRegistries/General`)