Createlinks: merge two git commands into one.