SPC g s runs Magit status, showing the changes you have in the git project the current buffer belongs too.
sto stage a change from the working directory - equivalent to
uto unstage a change from staging (so its no longer included in the next commit)
TABtoggles the expansion of changes in files/hunks
vselect specific lines of the change to stage / unstage
g rrefresh Magit status with any new changes.
Using Magit status directly
If you run git status from a file that is not currently in a git project, magit will prompt you to create a git project, allowing you to select the root of the project directory
- confirm you want to create a git repository
- specify where to create the repository, the root directory for the git repository