You can't push because you have nothing committed.
You can't commit because you have nothing added to the index.
You can't add because the file path of one of your untracked files is too long:
The naive solution would be to change the file path of these files.
The real solution is to ask yourself why you're trying to add these files to your source repository in the first place. You should only add hand-coded source files; not binaries, generated source files or tools.
What does your .gitignore file look like? You should set it up so it ignores everything except Dockerfile, README.md, pom.xml and the src/ folder.
What's inside Servers/ and myPetStore/? Nested projects that you want to add to your repository as well? Then put .gitignore files inside those folders as well and configure them properly.
As a final remark, ALWAYS run git status before running git commit. It will display what files you have added to the index before you commit them. Make sure you haven't added any files you don't want committed.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop