1 – The original image
2 - Creating a Path
Use Ctrl+Click to manipulate the points, and drag their "arms" around to change the curve. To insert a new point, just click on the line.
When you've finished, right-click the line, and click Make Selection. This turns your line into a selection.
3 - Removing the background
Cut out your object and paste it into a new layer. (Ctrl+C, then Ctrl+V) You can then replace your background layer with whatever you want.I've put in this magenta (opposite of green) background to show up any green bits that might still be stuck to our budgie.
Notice there are no jaggy edges, and there is no visible green outline.
-source