I've got two layers—a green one and a brown one. A little part of the green one is underneath the brown one.

![These are the layers - I need to get just the visible green part. The image shows the borders when the green layer is selected.](https://i.stack.imgur.com/yapVN.png)

These are the layers—I need to get just the visible green part. The image shows the layers' borders when the green layer is selected. Well, I need to crop (or duplicate as a new picture) the visible part of the green layer.

How do I do this? I'm not even a beginner in Photoshop.