You might have noticed that sunfire provides a measly git v1.5.5.1, which is 4 years old. Here's how you can build a recent one:
wget the latest git tarball
gtar -zxf git-... (where gtar is GNU tar, and -z is the GNU-specific gzip switch)
gmake install ...