I'm trying to fit a screenshot of an app onto this stock photo using Gimp 2.10.10. I know how to change the perspective and fit the screenshot onto the phone but I'm not sure how to select the finger so that it's not covered by the screenshot.
You can use a layer mask to achieve an edit like that.
Paste the screen shot and then transform (Shift+T). Make sure none of the Constrain or Pivot options are checked in the tool options, so that you can freely distort the screen shot to fit the phone
Click and drag the corner handles to fit the phone screen. Note: the Image Opacity slider in the tool options can help you get it right, allowing you to see through the layer as you transform it.
Add a layer mask to the screen shot layer, filled White Full Opacity
Make sure the layer mask is selected in the layers panel, then with the Paintbrush tool, paint in black on the layer mask to reveal where the finger is on the layer below. Note: if you make a mistake, you can paint over it in white.