A colleague and myself want to work on a project together which uses data which we are not permitted to save on our workstations (it can be saved on the company server, and we can open it on our workstations). We need to write and share code which uses this data, including cleaning it and saving cleaned versions of the data (on the company server). These cleaned versions should be under version control. We are using Git.
How should we set up the Git repository? If we put a bare remote repository on the company server, then when we clone into it the data will end up in our working tree and so be saved on our workstations. If we just use the remote repository to version control code, then data will not be under version control. If we create a non-bare Git repository on the company server, and both work directly in that, we don't really get the benefits of version control.
Grateful for any thoughts.