-
create bare git repo to push and pull from all devices.
mkdir ~/.config/.password-serve.git
-
initialise the empty bare git repository
cd ~/.config/.password-serve.git
git init --bare --initial-branch=master
- note: may output, 'fatal: This operation must be done in a work tree' ignore this.