Overwrite the file in the target path if it exists

git mv

git mv --force {{file}} {{target}}

click the source code to copy install git mv on any operating system with command-not-found.com