I happily refused to commit Webpack configuration to memory, but the result is an unpleasant feeling whenever I'm starting a project.
If I'm writing a React app, which is most of the time, the problem is solved for the most part with the create-react-app scaffolding tool.
Leveraging react-scripts, all of the gnarly Webpack configuration is hidden away until you eject.
[ Git essentials: Get started with Git version control.
• 20 essential pointers for Git and GitHub.