I'll attempt to keep it brief - in our project, we separated a feature branch from a development branch - we then changed the content of a file on the feature branch.
In my understanding, checking out the development branch should show the version of that file from the development branch but on our project, it doesn't seem to update at all and still has the content of the feature branch.
If that helps at all - on gitlab, the correct, unchanged file shows up - in the IDE (CLion), it still shows the changes to the file from the feature branch, despite it correctly showing in which branch we are currently in and after synchronizing.
Did I just misunderstand what 'checkout' does, or is something wrong with our setup? I'd be incredibly grateful for any help on the matter - it's really frustrating.