how to push only 1 file to git code example Example: push a single file in git $ git commit -m "Message goes here" filename