Conditionally setting your gitconfig
This is neat, but I think it's better to use your work provided device(s)/laptop for work, and your personal devices for personal things.<p>Obviously check your contract, and IANAL but people should be cognizant of the fact that your employer _may_ be able to retain copyright on personal projects if you use a work device (then again some contracts may even try to claim that they retain copyright for work done in personal time on personal devices)