how to commit and sync

I forget how to do these simple things after some time.. so this is a
pointer for myself