I recently started building a web application using the Laravel Framework. But, since I was building the application in my spare time, and a new version of Laravel was being released each week, I knew the version of the framework I started with would not be the same when I finished. Conundrum: I needed a simple way to stay on top of any security, bug, or feature related updates, without having to download and drag and drop folders.
To solve this problem, I'll be harnessing the power of Git. In a nutshell, we'll have two branches: master and framework. The master branch will be our application. The framework branch will be the Laravel framework that is powering our app. (Laravel's repository can be found here) When an update is made to Laravel, we check out the framework branch, pull in the most recent version of the framework, then merge those changes with master. Pretty straightforward.