Since I see that you have a repo up on gitorious, I suspect you have a local clone of that. To pull from the main repo you first add a remote
git remote add cmake git://gitorious.org/boost/cmake.git
then fetch all changes from that repository
git pull cmake 1.40.0