I added and pushed a bunch of files into my repository, but now I need to put it into a subfolder.
Git is smart and will find the files you moved. Do the following:
$ mkdir newFolder
$ mv oldFolder newFolder
$ git rm -r oldFolder
$ git add newFolder
keywords: git move files to another folder