How to Commit Changes to Git from Force.com IDE in Salesforce?

1. Right Click the component and select Team –> Commit. 2. Drag and Drop from Unstaged to Staged and click “Commit and Push” button.