I\'m new to version control, so I apologize if there is a well-known solution to this. For this problem in particular, I\'m using git, but I\'m curious about how to deal wit
Avoid absolute paths wherever possible.
Don't rely on your current version control to do something magic - you may change version control systems in the future.
The simplest approach works for me: have a 'config.live' and the 'config' is configured for development. During deployment simply move the config.live to config and all is fine. For more complex configurations a sub-directory for each configuration may be required.
A set of deployment procedures is essential - as the configuration is only one area that will be different.
Anything more complex is almost certainly likely to cause more problems than it solves.