libGDX project update with use of git

I am working on a libGDX projects month ago, so there are several new versions of the framework. I have read, it is useful to update framework’s files, but I have many classes, many assets. How can I update only the framework to the latest version?