If for any reason you dont want to stage all of your changes and you only want to commit certain files to git the source control functionality within Vitis will allow you to do this. To stage a specific file simply right click on that file and select Stage Changes.
The equivalent git command for this is:
git add <file name>