commit a folder