//remove file from local git rm file1.txt //remove file1.txt git commit -m "remove file1.txt" // commit