How to add GUI (app designer) code view/design view to incorporate in to gitlab

I am using app designer to use an an interface and adding code from Matlab script. The app designer has 2 views, one is design view (shows the buttons for callback functions) another is code view (generated by pushing buttons and callback functions from Matlab scripts file. How can I push the either view in gitlab to see the code to track changes rather just uploading app file (.mlapp) and download the file to see code.