Using git I made something like this
git clone git checkout {a rev number tree rev before} (here I started to be in a detached head state) //hacking git comm
You can just do git merge or git cherry-pick ...
git merge
git cherry-pick ...
As suggested by Ryan Stewart you may also create a branch from the current HEAD:
git branch brand-name
Or just a tag:
git tag tag-name