Source code, documentation, modules, etc. of current and previous QuantLib releases can be downloaded from http://quantlib.org/download.shtml
Instructions for Git access are available at http://quantlib.org/git.shtml
Access to the Git repository is intended mainly for developers and is not recommended to end users which should download the latest stable release instead.