contrib/subtree: add link sub-command

Adds subtree details to .gitsubtree where the directory already exists.

Signed-off-by: Paul Campbell <pcampbell@carnegiecollege.ac.uk>