Accessing workspace and doing a Git checkout for multiple notebooks

Stumbled upon this old post:

Looks like it is possible to sync Workspace files using notebook, but did not find any details or pointers how to do this.