Here is a folder, which contains a lot of .java files.
How can I git commit this folder ?
If I do the following commands
git add foldername git c
To stage an entire folder, you'd enter this command:
$git add .
The period will add all files in the folder.