Download
Source
You can download the source tarballs here. The releases are signed with the gpg key (F33E3FC6), which you can find here or on any keyserver.
openSUSE and Fedora
RPM packages for openSUSE, SUSE Linux Enterprise and Fedora are available here.
Windows
A NSIS installer of the latest version can be found here. The packages are created in the openSUSE Build Service and available as RPM packages here.
Git it
You can get the latest version of the master branch as zip and tgz.
You can get the latest version of the v0-4 branch as zip and tgz.
Clone it
git clone git://git.libssh.org/projects/libssh/libssh.git libssh
git clone git://git.libssh.org/projects/libssh/python-bindings.git libssh-python-bindings
git clone git://git.libssh.org/projects/libssh/java-bindings.git libssh-java-bindings
To start with git take a look at the Git Community Book.