Interactively stage a file

git add

git add -i

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