If it is a speciic Vitis component that you want to stage changes for then first of all select View as Tree in the source control panel. Then right click the component you want to stage changes for and select Stage Changes. This action will add all the files for this component for source control.
The equivalent git command for this is:
git add platform/