Go to any GitHub page and click on any of the directories/files and observe how the URL changes but only part of the page is updated. There\'s no whole page reloading.
Github use PJAX (Ref). You may see about jquery-pjax here. Note that this feature is not covered support by all browser, there are some browser that cannot be use this benefits.