For learning Git, I always tell people to use a
quality standalone GUI tool like GitKraken (free version is fine). You still want to know how to do basic stuff on a command line, but I credit the GUI tools (GK specifically) with helping me to finally break away from SVN. I think the latest version of GK even has a way to show the CLI commands it's using. But the biggest advantage IMO of a Git GUI is that you can see the start and end state of every action you take.
On learning Java via JavaFX, I'd say that's a fine idea.
But I do suggest that you start out with at least some basic Java tutorials or other learning materials without the complexities of JFX initially.
JFX (really any UI) brings with it two things for someone learning:
- Additional complexity (which is a bad)
- A much more interesting and appealing end-result of your work (which is a good for motivation)
It is a little less complex than a web application with a Java backend, so in that sense I guess it's less complicated if you're the type that needs visual feedback to stay motivated.
I know this is a strange looking URL (supposed to be a free University of Helsinki course) below but it seems like it'll get you on a good path. Starts with plain Java and it hits JavaFX later on (part 13), so after you're done you should have some experience with the fundamentals and enough to keep going with JavaFX after the end.
https://java-programming.mooc.fi