git add . not adding all files and folders code example Example: git add all files command /*to add all the files in staging area at once*/ git add .