This question is not answered by the rules; thus, it requires reading between the lines and using common sense.
First off, the Find Familiar spell is not the same as other ways of finding a creature and making a "Familiar Pact" with it. When you, through some means, find an actual creature and it agrees to make a "Familiar Pact" with you, this is creature-specific and thus it would almost certainly have a specific name and alignment. (Some monsters are listed as being able to make a "Familiar Pact", e.g. Pseudodragon (familiar variant).)
The spell Find Familiar summons a celestial, fey, or fiend spirit.
The spell fails to talk about the alignment of this spirit, but it is a singular spirit capable of intelligently interacting and thus it is not unreasonable to expect that spirit would have an alignment and personality. As a GM, in my games I rule that a Familiar Spirit is either too primitive to have an alignment, like an animal, and thus in nonaligned, or the Familiar Spirit has the same alignment as the caster of the spell. If a Familiar Spirit develops any significant personality, then it should also develop the corresponding alignment that goes with that personality. Now, there could be times where, for roleplaying purposes, a GM and player may decide the Familiar Spirit should have a different alignment from the the caster, but I would treat that as an exception.
The more important point here is that it is the Familiar Spirit which has the alignment and personality, not the form the Familiar Spirit takes on. For example, a Familiar Spirit named Manypetals is chaotic good and takes on the form of a bat, chosen by the caster. Even though a bat is unaligned, Manypetals in the form of a bat is chaotic good. If the caster, a Chain Pact Warlock, then recasts Find Familiar and has Manypetals take on the form of an imp, Manypetals in that imp form Manypetals would still be chaotic good, even though imps are lawful evil.
This needs to be true to avoid abuse of the ability to easily change alignment. In any game which is actively using alignments, there are times when there are advantages or disadvantages to one's alignment. A Chain Pact Warlock who could operate through their familiar and they could easily change their familiar alignment from C/G to C/E to L/E to unaligned; I would consider that breaking the system and I do not believe the rules support that.
Consider the spell True Polymorph.
In the description of Find Familiar, it states (emphasis mine):
Appearing in an unoccupied space within range, the familiar has the statistics of the chosen form, though it is a celestial, fey, or fiend (your choice) instead of a beast.
In the description of True Polymorph, it states (emphasis mine):
The target’s game statistics, including mental ability scores, are replaced by the statistics of the new form. It retains its alignment and personality.
So I believe how that sentence from Find Familiar should read is (emphasis mine):
Appearing in an unoccupied space within range, the familiar has the statistics of the chosen form, though it is a celestial, fey, or fiend (your choice) instead of a beast, and it retains its alignment and personality.