git-commit:tldr:1ecaa
The command "git commit" is used to create a new commit in Git, which allows you to save your changes to the repository. A commit is a snapshot of the current state of your project.
In the given command, "git commit ${filename1} ${filename2}", you are specifying the names of the files (filename1 and filename2) that you want to include in the commit.
By using these filenames as parameters, you are telling Git to include the changes made to those specific files in the commit. Git will look for the files in the current working directory or the path you provide.
Keep in mind that before committing changes to a file, you need to stage them using the "git add" command. This adds the changes to the staging area, which is like a temporary storage for changes before they are committed.