Extracted common code in track, untrack, resolve into file_cmd
Allow the user to branch out from certain commit point (cli part)