finished 'add' command for files and repo